package com.eduadmin.mapper;

import com.eduadmin.entity.StatisticsParamiter;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface StatisticsParamiterMapper {
    //zlc:添加
    // 获取所有记录
    List<StatisticsParamiter> getAllStatisticsParamiter();

    // 按条件获取统计参数记录
    StatisticsParamiter getStatisticsParamiterByParams(String semesterName, String gradeName, String examName, String categoryName);

    //hgm 批量导入记录
    int insertStatisticsParamiter(List<StatisticsParamiter> statisticsParamiterList);

    //hgm 获取单个记录
    int selectStatisticsParamiterByExamName(String examName);

    //hgm 获取所有
    List<StatisticsParamiter> selectAllStatisticsParamiters(Map<String, Object> paraMap);

    //hgm 获取总数
    Long selectAllTotal(Map<String, Object> paraMap);

    //hgm 插入一条记录
    int insertOneStatisticsParamiter(StatisticsParamiter statisticsParamiter);

    //hgm 更新信息
    int updateStatisticsParamiter(StatisticsParamiter statisticsParamiter);
    //hgm 删除信息
    int deleteStatisticsParamiter(String paramiterIdString);
}